<?php

namespace App\Http\Controllers\Home;

use App\Model\Home\Users;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;


class UsersController extends Controller
{

        public  function  index(Users $users)
        {
//           dump($a=$users->one()->toArray())  ;
            $users=$users->one()  ;

           return view('Home.index',['users'=>$users]);
        }


}
